package cn.gcyl.module.biz.dal.mysql.aboutplatform;

import cn.gcyl.framework.common.pojo.PageResult;
import cn.gcyl.framework.mybatis.core.mapper.BaseMapperX;
import cn.gcyl.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.gcyl.module.biz.controller.admin.aboutplatform.vo.*;
import cn.gcyl.module.biz.dal.dataobject.aboutplatform.AboutPlatformDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 平台简介 Mapper
 *
 * @author 芋道源码
 */
@Mapper
public interface AboutPlatformMapper extends BaseMapperX<AboutPlatformDO> {

    default PageResult<AboutPlatformDO> selectPage(AboutPlatformPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<AboutPlatformDO>()
                .orderByDesc(AboutPlatformDO::getId));
    }

}